package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 权限实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Duties")
public class Duties extends BaseModel {
    @Id
    @PrimaryKey
    private String _id;
    @Field("DutiesCode")
    private String dutiesCode;
    @Field("DutiesName")
    private String dutiesName;
    @Field("Type")
    private Integer type;//1-党派 2-侨台 3-乡贤 4-宗教
    @Field("Sort")
    private String sort;
}
